#!/user/bin/env node

const cp = require('child_process');

console.log('fork-pid',process.pid);
cp.fork('./03-child.js');
//child.stdout.pipe(process.stdout);
//child.stderr.pipe(process.err);

setTimeout(()=>{
  console.log('father is end~');
  process.exit();
},5000);

